package com.liveinstars.api.im.vo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class UserPost {

    private String total;

    private String rules;

    @JSONField(name = "list")
    private List<PostList> postList;

    public void setTotal(String total) {
        this.total = total;
    }

    public String getTotal() {
        return this.total;
    }

    public void setRules(String rules) {
        this.rules = rules;
    }

    public String getRules() {
        return this.rules;
    }

    public List<PostList> getPostList() {
        return postList;
    }

    public void setPostList(List<PostList> postList) {
        this.postList = postList;
    }

    public static class PostList {
        private int fid;

        private int tid;

        private String title;

        private String authorid;

        private String author;

        private String lastpost;

        private String lastposter;

        private String post_date_format;

        private String views;

        private String replies;

        private String displayorder;

        private String post_date;

        private String type;

        private String attachment;

        private String digest;

        private String heats;

        private String price;

        private int pid;

        private int like;

        private String attitude;

        private Status status;

        private String content;

        private String desc;

        private Author_info author_info;

        private Category category;

        private int source_from;

        public void setFid(int fid) {
            this.fid = fid;
        }

        public int getFid() {
            return this.fid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public int getTid() {
            return this.tid;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTitle() {
            return this.title;
        }

        public void setAuthorid(String authorid) {
            this.authorid = authorid;
        }

        public String getAuthorid() {
            return this.authorid;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getAuthor() {
            return this.author;
        }

        public void setLastpost(String lastpost) {
            this.lastpost = lastpost;
        }

        public String getLastpost() {
            return this.lastpost;
        }

        public void setLastposter(String lastposter) {
            this.lastposter = lastposter;
        }

        public String getLastposter() {
            return this.lastposter;
        }

        public void setPost_date_format(String post_date_format) {
            this.post_date_format = post_date_format;
        }

        public String getPost_date_format() {
            return this.post_date_format;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public String getViews() {
            return this.views;
        }

        public void setReplies(String replies) {
            this.replies = replies;
        }

        public String getReplies() {
            return this.replies;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }

        public String getDisplayorder() {
            return this.displayorder;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getPost_date() {
            return this.post_date;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getType() {
            return this.type;
        }

        public void setAttachment(String attachment) {
            this.attachment = attachment;
        }

        public String getAttachment() {
            return this.attachment;
        }

        public void setDigest(String digest) {
            this.digest = digest;
        }

        public String getDigest() {
            return this.digest;
        }

        public void setHeats(String heats) {
            this.heats = heats;
        }

        public String getHeats() {
            return this.heats;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public int getPid() {
            return this.pid;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public int getLike() {
            return this.like;
        }

        public void setAttitude(String attitude) {
            this.attitude = attitude;
        }

        public String getAttitude() {
            return this.attitude;
        }

        public void setStatus(Status status) {
            this.status = status;
        }

        public Status getStatus() {
            return this.status;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getContent() {
            return this.content;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return this.desc;
        }

        public void setAuthor_info(Author_info author_info) {
            this.author_info = author_info;
        }

        public Author_info getAuthor_info() {
            return this.author_info;
        }

        public void setCategory(Category category) {
            this.category = category;
        }

        public Category getCategory() {
            return this.category;
        }

        public void setSource_from(int source_from) {
            this.source_from = source_from;
        }

        public int getSource_from() {
            return this.source_from;
        }
    }

    public static class Category {
        private String name;

        private String link;

        private String threads;

        private String posts;

        private String id;

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setLink(String link) {
            this.link = link;
        }

        public String getLink() {
            return this.link;
        }

        public void setThreads(String threads) {
            this.threads = threads;
        }

        public String getThreads() {
            return this.threads;
        }

        public void setPosts(String posts) {
            this.posts = posts;
        }

        public String getPosts() {
            return this.posts;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }
    }

    public static class Author_info {
        private String id;

        private String name;

        private String desc;

        private String avatar;

        private String date;

        private String group_title;

        private String display_name;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return this.desc;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getAvatar() {
            return this.avatar;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getDate() {
            return this.date;
        }

        public void setGroup_title(String group_title) {
            this.group_title = group_title;
        }

        public String getGroup_title() {
            return this.group_title;
        }

        public void setDisplay_name(String display_name) {
            this.display_name = display_name;
        }

        public String getDisplay_name() {
            return this.display_name;
        }
    }

    public static class Status {
        @JSONField(name = "new")
        private int statusNew;

        private int rush;

        private int like;

        private int hot;

        private int hidden_replies;

        private int close;

        private int activity;

        public int getStatusNew() {
            return statusNew;
        }

        public void setStatusNew(int statusNew) {
            this.statusNew = statusNew;
        }

        public void setRush(int rush) {
            this.rush = rush;
        }

        public int getRush() {
            return this.rush;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public int getLike() {
            return this.like;
        }

        public void setHot(int hot) {
            this.hot = hot;
        }

        public int getHot() {
            return this.hot;
        }

        public void setHidden_replies(int hidden_replies) {
            this.hidden_replies = hidden_replies;
        }

        public int getHidden_replies() {
            return this.hidden_replies;
        }

        public void setClose(int close) {
            this.close = close;
        }

        public int getClose() {
            return this.close;
        }

        public void setActivity(int activity) {
            this.activity = activity;
        }

        public int getActivity() {
            return this.activity;
        }
    }
}

